import yhRequest from "@/service/request";
export const userLogin=(data)=>{
    return yhRequest.post({
        url:"/auth/login",
        data:data
    })
}
export const userRegister=(data)=>{
    return yhRequest.post({
        url:"/auth/register",
        data:data
    })
}